package com.wwj.auction.order.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wwj
 * @since 2021-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BuyRecord对象", description="")
public class BuyRecord implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品名")
    private String shopName;

    @ApiModelProperty(value = "收货人姓名")
    private String buyerName;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal payPrice;

    @ApiModelProperty(value = "物流状态，0为未发货，1为运送中，2为已收货，-1为退货中")
    private Integer shopStatus;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "支付时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "商品所属的店铺名")
    private String storeName;

    @ApiModelProperty(value = "商品首页展示图")
    private String shopIndexImage;


}
